package com.ynet.middleground.approve.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 流程模型请求类
 * @date 2019-10-20 11:38
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "流程模型请求对象", description = "涉及相关流程模型处理服务的请求对象，比如模型的发布、删除等")
public class ProcessModelReq extends BaseReqObj {

    private static final long serialVersionUID = -3078896930187452858L;

    @ApiModelProperty(value = "模型ID", notes = "根据模型ID删除模型", dataType = "String", required = true)
    @NotBlank(message = "模型ID不能为空")
    private String modelId;

}
